.image-container {
    position: relative;
    width: 100px;
    height: 100px;
  }
  
  .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
    cursor: pointer;
  }
  
  .image-overlay span {
    color: white;
    font-size: 14px;
  }
  
  .image-container:hover .image-overlay {
    opacity: 1;
  }
  
  .upload-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  .upload-loading span {
    color: #b50000;
  }
  
  .loading-icon {
    color: #b50000;
    animation: rotate 1s linear infinite;
    margin-bottom: 8px;
  }
  
  @keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }